package com.example.petshop.service;

import com.example.petshop.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface UserService {

    User getUserProfile();

    List<User> getAllUsers();

    //boolean verifyCredentials(String userName, String password);



    boolean login(String username, String password);

    boolean register(User user);

    //String getNickname(String username);

//    User getNikename(User user);

    String getNickname(String username);

    User getUserByUsername(String username);

    boolean updateUserType(Long userId, String userType);


    void createUser(User user);


    void deleteUser(Long userId);

    void updateUser(User user);

    User getUserById(Integer userId);

    List<User> getAllUser();

    User getUserByNickname(String nickname);
}
